package com.starinside.wp.repository;

import com.starinside.wp.domain.RelAreaLiveRecord;
import com.starinside.wp.domain.RelUserChildren;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RelAreaLiveRecordRepository extends JpaRepository<RelAreaLiveRecord, String> {

    RelAreaLiveRecord findByAreaIdAndCameraEnabled(String areaId,Boolean cameraEnabled);
}
